Skip to main content

Advent of Code 2026 - All I Want for Christmas Is Q

· 3 min read
Alexander Unterrainer
DefconQ, KDB/Q Developer, Consultant

It’s that time of year again. The days are getting shorter, Chris Rea is driving home, Santa is coming to town, and all Mariah Carey wants for Christmas is you. The business is hopefully running out of last-minute requests, code freeze is nearly here, and somewhere a developer is about to spend their morning teaching an elf how to parse a text file.

DefconQ Advent of Code Leaderboard

Yes, Advent of Code is back. And this year, we’ve got a DefconQ leaderboard, four ways to bring Q to the party, and a hoodie up for grabs.

What is Advent of Code?​

Advent of Code is Eric Wastl’s annual advent calendar of programming puzzles. The first puzzles unlock on 1 December at midnight EST, which is 5 a.m. in London and 6 a.m. in Central Europe.

Here’s how it works. Log in, open a puzzle, and grab your input. Write some code to work out the answer and submit it on the site. A correct answer earns you a star. Solve Part One to unlock Part Two and have a crack at a second star. You can solve the puzzles whenever you like, so there’s no need to set an alarm unless you’re really committed to getting out of bed for an elf.

If you’re learning Q, it’s a good excuse to write something beyond the examples in the docs. If you’ve been writing Q for years, it’s a good excuse to see whether that one-liner still makes sense after breakfast.

One leaderboard. Four flavours of Q.​

A lot has happened in the Q ecosystem over the past year. So, for the DefconQ challenge, pick whichever member of the family you fancy: PeachQ, Korze, L, or the OG Q. You can even switch between puzzles. I’m looking forward to seeing what happens when four people take the same input and come back with four very different ideas of what counts as readable.

To join, log in to Advent of Code, open the Private Leaderboard page and enter the DefconQ join code 919344-8d2a896e

Santa has a DefconQ hoodie​

One lucky participant will get a DefconQ hoodie, shipped by Santa personally.

Well, by Alex. Santa’s in code freeze too.

I can’t review every solution or tell whose LLM put in a shift, so I’ll pick one winner at random. First place gets bragging rights. The hoodie goes wherever the draw sends it.

To enter the draw, comment AOC under my Linkedin post here. Joining the leaderboard gets you into the challenge. Leaving the comment gets your name in the hat.

See you on the leaderboard. Happy coding!

Alex - DefconQ